package messages.plain;

public class TextMessage extends PlainMessage
{

    /**
	 * 
	 */
    private static final long serialVersionUID = 1L;

    private String message;

    public TextMessage( String message ) {
        super();
        this.setMessage( message );
    }

    /**
     * @param message
     *            the message to set
     */
    public void setMessage( String message ) {
        this.message = message;
    }

    /**
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    @Override
    public void show() {
        System.out.println( "Message Content:\n Plain String: " + this.message );
    }

}
